import http from "../utils/http/http.js";
/**
 * 登录API
 *
 * @param data {LoginData}
 * @returns
 */
export const loginApi = loginForm => {
  return http.post("/sys/login", loginForm);
};
export const menuApi = () => {
  return http.get("/sys/permission/getUserPermissionByToken");
};
